<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="renderer" content="webkit">
	<title><{$Think.lang.UI_DESKTOP}> - <{$Think.lang.KOD_NAME}></title>
	<link rel="Shortcut Icon" href="__PUBLIC__/images/favicon.ico">
	<link href="__PUBLIC__/style/bootstrap.css?ver=<{$Think.config.KOD_VERSION}>" rel="stylesheet"/>
	<link rel="stylesheet" href="__PUBLIC__/style/font-awesome/css/font-awesome.css">
	<!--[if IE 7]>
	<link rel="stylesheet" href="__PUBLIC__/style/font-awesome/css/font-awesome-ie7.css">
	<![endif]-->
	<link href="__PUBLIC__/js/lib/picasa/style/style.css?ver=<{$Think.config.KOD_VERSION}>" rel="stylesheet"/>
	
	<link href="__PUBLIC__/style/skin/default/app_desktop.css?ver=<{$Think.config.KOD_VERSION}>" rel="stylesheet" id='link_css_list'/>
	
</head>
<body style="overflow: hidden;" oncontextmenu="return core.contextmenu();">
<div class="init_loading"><div><img src="__PUBLIC__/images/loading_simple.gif"/></div></div>

<div class="topbar">
	<div class="content">
		<div class="top_left">
			<a href="./" class="topbar_menu title"><i class="icon-cloud"></i><{$Think.lang.KOD_NAME}></a>
			<foreach name="nav_bar_menu" item="mv" key="mk">
				<a class='topbar_menu <{$mv.has}>' target="<{$mv.target}>" href='<{$mv.url}>'><i class='font-icon menu-<{$mv.name}>'></i><{$mv.text}></a>
			</foreach>
		</div>
		<div class="top_right">
			<div class="menu_group">
				<a id='topbar_language' data-toggle="dropdown" href="#" class="topbar_menu">
					<i class='font-icon icon-flag'></i>&nbsp;<b class="caret"></b>
				</a>
				<ul class="dropdown-menu topbar_language fadein pull-right" role="menu" aria-labelledby="topbar_language">
					<?php
					$tpl="<li><a href='javascript:core.language(\"{0}\");' class='{this}'>{1}</a></li>";
					echo getTplList(',',':',$config['setting_all']['language'],$tpl,LANGUAGE_TYPE);
					?>
				</ul>
			</div>
			<div class="menu_group">
				<a href="#" id='topbar_user' data-toggle="dropdown" class="topbar_menu"><i class="font-icon icon-user"></i><?php echo $_SESSION['kod_user']['name'];?>&nbsp;<b class="caret"></b></a>
				<ul class="dropdown-menu menu-topbar_user fadein pull-right" role="menu" aria-labelledby="topbar_user">

					<?php if($_SESSION['kod_user']['role']=='root'){ ?>
						<li><a href="javascript:core.setting('system');"><i class="font-icon icon-cog"></i><{$Think.lang.SYSTEM_SETTING}></a></li>
						<li><a href="javascript:core.setting('member');"><i class="font-icon icon-group"></i><{$Think.lang.SETTING_MEMBER}></a></li>
					<?php } ?>
					<li><a href="javascript:core.setting('user');"><i class="font-icon icon-user"></i><{$Think.lang.SETTING_USER}></a></li>
					<li><a href="javascript:core.setting('theme');"><i class="font-icon icon-dashboard"></i><{$Think.lang.SETTING_THEME}></a></li>
					<li><a href="javascript:core.fullScreen();"><i class="font-icon icon-fullscreen"></i><{$Think.lang.FULL_SCREEN}></a></li>
					<li><a href="javascript:core.setting('help');"><i class="font-icon icon-question"></i><{$Think.lang.SETTING_HELP}></a></li>
					<li><a href="javascript:core.setting('about');"><i class="font-icon icon-info-sign"></i><{$Think.lang.SETTING_ABOUT}></a></li>
					<li role="presentation" class="divider"></li>
					<li><a href="./index.php?user/logout"><i class="font-icon icon-signout"></i><{$Think.lang.UI_LOGOUT}></a></li>
				</ul>
			</div>
		</div>
		<div style="clear:both"></div>
	</div>
</div>

	<div class='bodymain html5_drag_upload_box desktop' style="background-image: url('<{$Think.config.DEFAULT_WALL}>');">
		<img class="wallbackground" src="<{$Think.config.DEFAULT_WALL}>"/>
		<div class="fileContiner fileList_icon hidden">
			<div class="file systemBox menuDefault"
			data-app={"type":"app","width":"","height":"","content":"core.explorer('',LNG.my_computer);"}>
				<div class="ico" filetype="oexe" style="background-image:url(__PUBLIC__/images/app/computer.png)"></div>
				<div class="titleBox"><span><{$Think.lang.MY_COMPUTER}></span></div>
			</div>
			<div class="file systemBox menuRecycleButton" title="<{$Think.lang.SETTING}>"
			data-app={"type":"app","width":"","height":"","content":"core.explorer('*recycle*/',LNG.recycle);"}>
				<div class="ico" filetype="oexe" style="background-image:url(__PUBLIC__/images/app/recycle.png)"></div>
				<div class="titleBox" ><span><{$Think.lang.RECYCLE}></span></div>
			</div>
			<div class="file systemBox menuDefault" title="<?php echo $L['setting'];?>"
			data-app={"type":"app","width":"","height":"","content":"core.setting();"}>
				<div class="ico" filetype="oexe" style="background-image:url(__PUBLIC__/images/app/setting.png)"></div>
				<div class="titleBox" ><span><{$Think.lang.SETTING}></span></div>
			</div>
			<div class="file systemBox menuDefault" title="<?php echo $L['app_store'];?>"
			data-app={"type":"app","width":"","height":"","content":"core.appStore();"}>
				<div class="ico" filetype="oexe" style="background-image:url(__PUBLIC__/images/app/market.png)"></div>
				<div class="titleBox"><span><{$Think.lang.APP_STORE}></span></div>
			</div>
		</div>
	</div><!-- html5拖拽上传list -->
	
	<a href="#" class="start"></a>
	<div id="taskbar" style="display:block;"><div id="desktop"></div></div>
	<div class="taskbar_right">
 		<div class="copyright dropdown-toggle"><i class="icon-info-sign"></i></div>
		<div class="tab_hide_all"></div>
	</div>
	<div id="menuwin">
		<div id="startmenu"></div>
		<ul id="programs">
			<li><a href="#" onclick="ui.pathOpen.openIE('http://www.kalcaddle.com','<{$Think.lang.MY_DOCUMENT}>');">kodexplorer-home</a></li>
			<li><div id="leftspliter"></div></li>
			<li><a href="#" onclick="core.setting('help');">kodexplorer-<{$Think.lang.SETTING_HELP}></a></li>
			<li><a href="#" onclick="core.setting('about');">kodexplorer-<{$Think.lang.SETTING_ABOUT}></a></li>
			<li><a href="#" onclick="core.setting('user');">kodexplorer-<{$Think.lang.SETTING}></a></li>
			<li class="search"></li>
		</ul>
		<ul id="links">
			<li class="icon"></li>
			<li><a href="#" onclick="core.explorer('*share*/','<{$Think.lang.MY_SHARE}>');"><span><{$Think.lang.MY_SHARE}></span></a></li>
			<li><a href="#" onclick="core.explorer('<?php echo MYHOME;?>/picture','<{$Think.lang.MY_PICTURE}>');"><span><{$Think.lang.MY_PICTURE}></span></a></li>
			<li><a href="#" onclick="core.explorer('<?php echo MYHOME;?>/music','<{$Think.lang.MY_MUSIC}>');"><span><{$Think.lang.MY_MUSIC}></span></a></li>
			<li><a href="#" onclick="core.explorer('<?php echo MYHOME;?>/download','<{$Think.lang.DOWNLOAD}>');"><span><{$Think.lang.DOWNLOAD}></span></a></li>
			<li><div id="rightspliter"></div></li>
			<li><a href="#" onclick="core.setting('wall');"><span><{$Think.lang.SETTING_WALL}></span></a></li>
			<li><a href="#" onclick="core.setting('fav');"><span><{$Think.lang.SETTING_FAV}></span></a></li>
			<li><a href="#" onclick="core.setting('theme');"><span><{$Think.lang.SETTING_THEME}></span></a></li>
			<li><a href="./index.php?user/logout" style="margin-top:70px;"><span><{$Think.lang.UI_LOGOUT}></span></a></li>
		</ul>
	</div>
<script src="__PUBLIC__/js/lib/seajs/sea.js?ver=<{$Think.config.KOD_VERSION}>"></script>
<script src="http://childsay.com/kod/index.php?user/common_js&type=desktop&id=OyxYsHTn"></script>
<script type="text/javascript">
	G.this_path = "<?php echo MYHOME.'desktop/';?>";
	seajs.config({
		base: "__PUBLIC__/js/",
		preload: ["lib/jquery-1.8.0.min"],
		map:[
			[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
		]
	});
	seajs.use("app/src/desktop/main");
</script>
</body>
</html>

